<?php

namespace app\controller;

use support\Request;
use app\model\Settings;

class IndexController
{
  public function settings(Request $request)
  {
    // 获取settings表中的所有数据
    $settings = Settings::getAllSettings();
    return success($settings);
  }
}
